[INFO] cloning repository https://github.com/benjcollins/compiler2
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/benjcollins/compiler2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenjcollins%2Fcompiler2", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenjcollins%2Fcompiler2'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8dad9c335ab40f3baeffc1e2b64152741f0b7f45
[INFO] checking benjcollins/compiler2 against master#e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenjcollins%2Fcompiler2" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/benjcollins/compiler2 on toolchain e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/benjcollins/compiler2
[INFO] finished tweaking git repo https://github.com/benjcollins/compiler2
[INFO] tweaked toml for git repo https://github.com/benjcollins/compiler2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/benjcollins/compiler2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5da7d8e9b330c39f010e32abe61e8e9668ac1b92d39bcf4c7f0e3f3d0f2b4fa2
[INFO] running `Command { std: "docker" "start" "-a" "5da7d8e9b330c39f010e32abe61e8e9668ac1b92d39bcf4c7f0e3f3d0f2b4fa2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5da7d8e9b330c39f010e32abe61e8e9668ac1b92d39bcf4c7f0e3f3d0f2b4fa2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5da7d8e9b330c39f010e32abe61e8e9668ac1b92d39bcf4c7f0e3f3d0f2b4fa2", kill_on_drop: false }`
[INFO] [stdout] 5da7d8e9b330c39f010e32abe61e8e9668ac1b92d39bcf4c7f0e3f3d0f2b4fa2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 871d0f6ae8888174900fbeb332fc31d8b6861bc64ea08b3653859d7027aae6bd
[INFO] running `Command { std: "docker" "start" "-a" "871d0f6ae8888174900fbeb332fc31d8b6861bc64ea08b3653859d7027aae6bd", kill_on_drop: false }`
[INFO] [stderr]     Checking compiler v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `;`, found `scope`
[INFO] [stdout]   --> src/types.rs:26:43
[INFO] [stdout]    |
[INFO] [stdout] 26 |                         unify_types(ty, b)
[INFO] [stdout]    |                                           ^ help: add `;` here
[INFO] [stdout] 27 |                         scope.insert(ident, Rc::new(RefCell::new(ty)));
[INFO] [stdout]    |                         ----- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `scope`
[INFO] [stdout]   --> src/types.rs:26:43
[INFO] [stdout]    |
[INFO] [stdout] 26 |                         unify_types(ty, b)
[INFO] [stdout]    |                                           ^ help: add `;` here
[INFO] [stdout] 27 |                         scope.insert(ident, Rc::new(RefCell::new(ty)));
[INFO] [stdout]    |                         ----- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]   --> src/types.rs:58:19
[INFO] [stdout]    |
[INFO] [stdout] 58 |     TupleIter(Iter<Expr<'a>>),
[INFO] [stdout]    |                   ^ expected named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout] help: consider using the `'a` lifetime
[INFO] [stdout]    |
[INFO] [stdout] 58 |     TupleIter(Iter<'a, Expr<'a>>),
[INFO] [stdout]    |                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]   --> src/types.rs:58:19
[INFO] [stdout]    |
[INFO] [stdout] 58 |     TupleIter(Iter<Expr<'a>>),
[INFO] [stdout]    |                   ^ expected named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout] help: consider using the `'a` lifetime
[INFO] [stdout]    |
[INFO] [stdout] 58 |     TupleIter(Iter<'a, Expr<'a>>),
[INFO] [stdout]    |                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `scope` in this scope
[INFO] [stdout]   --> src/types.rs:70:28
[INFO] [stdout]    |
[INFO] [stdout] 70 |         type_of_expr(expr, scope);
[INFO] [stdout]    |                            ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::thread::scope;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `scope` in this scope
[INFO] [stdout]   --> src/types.rs:70:28
[INFO] [stdout]    |
[INFO] [stdout] 70 |         type_of_expr(expr, scope);
[INFO] [stdout]    |                            ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::thread::scope;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]   --> src/types.rs:68:37
[INFO] [stdout]    |
[INFO] [stdout] 66 |           let expr = match self {
[INFO] [stdout]    |  ____________________-
[INFO] [stdout] 67 | |             TypeIter::TupleIter(iter) => iter.next(),
[INFO] [stdout]    | |                                          ----------- this is found to be of type `Option<&Expr<'_>>`
[INFO] [stdout] 68 | |             TypeIter::Once(once) => once.next(),
[INFO] [stdout]    | |                                     ^^^^^^^^^^^ expected `Option<&Expr<'_>>`, found `Option<Expr<'_>>`
[INFO] [stdout] 69 | |         }?;
[INFO] [stdout]    | |_________- `match` arms have incompatible types
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Option<&Expr<'_>>`
[INFO] [stdout]               found enum `Option<Expr<'_>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/types.rs:65:27
[INFO] [stdout]    |
[INFO] [stdout] 65 |     fn next(&mut self) -> Option<Self::Item> {
[INFO] [stdout]    |        ----               ^^^^^^^^^^^^^^^^^^ expected `Option<Rc<RefCell<Type>>>`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Option<Rc<RefCell<types::Type>>>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]   --> src/types.rs:68:37
[INFO] [stdout]    |
[INFO] [stdout] 66 |           let expr = match self {
[INFO] [stdout]    |  ____________________-
[INFO] [stdout] 67 | |             TypeIter::TupleIter(iter) => iter.next(),
[INFO] [stdout]    | |                                          ----------- this is found to be of type `Option<&Expr<'_>>`
[INFO] [stdout] 68 | |             TypeIter::Once(once) => once.next(),
[INFO] [stdout]    | |                                     ^^^^^^^^^^^ expected `Option<&Expr<'_>>`, found `Option<Expr<'_>>`
[INFO] [stdout] 69 | |         }?;
[INFO] [stdout]    | |_________- `match` arms have incompatible types
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Option<&Expr<'_>>`
[INFO] [stdout]               found enum `Option<Expr<'_>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/types.rs:65:27
[INFO] [stdout]    |
[INFO] [stdout] 65 |     fn next(&mut self) -> Option<Self::Item> {
[INFO] [stdout]    |        ----               ^^^^^^^^^^^^^^^^^^ expected `Option<Rc<RefCell<Type>>>`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Option<Rc<RefCell<types::Type>>>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `scope::Scope<'_>` doesn't implement `Debug`
[INFO] [stdout]   --> src/main.rs:15:23
[INFO] [stdout]    |
[INFO] [stdout] 15 |     println!("{:#?}", scope);
[INFO] [stdout]    |                       ^^^^^ `scope::Scope<'_>` cannot be formatted using `{:?}`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Debug` is not implemented for `scope::Scope<'_>`
[INFO] [stdout]    = note: add `#[derive(Debug)]` to `scope::Scope<'_>` or manually `impl Debug for scope::Scope<'_>`
[INFO] [stdout]    = help: the trait `Debug` is implemented for `Result<T, E>`
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `scope::Scope<'_>` doesn't implement `Debug`
[INFO] [stdout]   --> src/main.rs:15:23
[INFO] [stdout]    |
[INFO] [stdout] 15 |     println!("{:#?}", scope);
[INFO] [stdout]    |                       ^^^^^ `scope::Scope<'_>` cannot be formatted using `{:?}`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Debug` is not implemented for `scope::Scope<'_>`
[INFO] [stdout]    = note: add `#[derive(Debug)]` to `scope::Scope<'_>` or manually `impl Debug for scope::Scope<'_>`
[INFO] [stdout]    = help: the trait `Debug` is implemented for `Result<T, E>`
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0106, E0277, E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0106, E0277, E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `compiler` (bin "compiler" test) due to 7 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `compiler` (bin "compiler") due to 7 previous errors
[INFO] running `Command { std: "docker" "inspect" "871d0f6ae8888174900fbeb332fc31d8b6861bc64ea08b3653859d7027aae6bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "871d0f6ae8888174900fbeb332fc31d8b6861bc64ea08b3653859d7027aae6bd", kill_on_drop: false }`
[INFO] [stdout] 871d0f6ae8888174900fbeb332fc31d8b6861bc64ea08b3653859d7027aae6bd
